<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>5470-校团委微博墙</title>
<link href="css/5470_sub.css" rel="stylesheet" type="text/css" />
<link href="css/5470_sub_basic.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/weibowall_framework.js"></script>
<!--[if lt IE 7]>
<link href="stylesheets/screen-ie6.css" type="text/css" rel="stylesheet" media="screen,projection" />
<![endif]-->
</head>
<body>
<script type="text/javascript">
function getLatestWeibosGroup(where,id){
			$.post("getLatestWeibosByGroup.jsp",{groupId : id+""},
    			function(data,textStatus){
    				var node = $("#"+where);
					node.html(data);
   				}
	);
}
$(function(){
	//加载5个模块的微波内容
	getLatestWeibosGroup('xiao',1);
	window.setInterval("getLatestWeibosGroup('xiao',1)",120000);
});
$(function(){
	//加载5个模块的微波内容
	getLatestWeibosGroup('xue',2);
	window.setInterval("getLatestWeibosGroup('xue',2)",120000);
});
$(function(){
	//加载5个模块的微波内容
	getLatestWeibosGroup('she',3);
	window.setInterval("getLatestWeibosGroup('she',3)",120000);
});
$(function(){
	//加载5个模块的微波内容
	getLatestWeibosGroup('tuan',4);
	window.setInterval("getLatestWeibosGroup('tuan',4)",120000);
});
$(function(){
	//加载5个模块的微波内容
	getLatestWeibosGroup('yuan',5);
	window.setInterval("getLatestWeibosGroup('yuan',5)",120000);
});
</script>
<div id="news_right">
    <div > <img src="images/sub_banner.png"  alt="5470"/> </div>
    <div class="now_addr"> 您现在的位置在：&nbsp; <a href="home.action">主页</a>&gt;&gt;<a>微博墙</a> </div>
    <div id="weibowall_box">
        <ul id="filter" >
            <li class="current"  style="margin-left:15px;"><a href="#" class="quan">全部</a></li>
            <li><a href="javascript:;;" class="xiao" >校团委</a></li>
            <li><a href="javascript:;;" class="xue" >学生会</a></li>
            <li><a href="javascript:;;" class="she" >社团</a></li>
            <li><a href="javascript:;;" class="tuan" >团学干部</a></li>
            <li><a href="javascript:;;" class="yuan" >学院班级</a></li>
        </ul>
        <ul id="portfolio" >
            <li class="xiao" id="xiao"><font color="red">加载中...</font></li>
            <li class="xue" id="xue"><font color="red">加载中...</font></li>
            <li class="she" id="she"><font color="red">加载中...</font></li>
            <li class="tuan" id="tuan"><font color="red">加载中...</font></li>
            <li class="yuan" id="yuan"><font color="red">加载中...</font></li>
        </ul>
    </div>
</div>
</body>
</html>
